<script>
    let p1 = Promise.resolve(100)
    console.log(p1)

    // p1.then()

    let p2 = Promise.reject(1).catch(err => {
        console.log('err', err)
    })
    console.log(p2)
</script>